<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="/oa/Public/css/form.css" />
<link rel="stylesheet" type="text/css" href="/oa/Public/css/global.css" />
<script type="text/javascript" src="/oa/Public/js/jquery.js"></script>
<script type="text/javascript" src="/oa/Public/js/common.js"></script>
<title>工作办结</title>
<script>
function mysubmit()
{
	var proc_user = $("input[name='proc_user']:checked").val();
	if(proc_user == undefined ){
		alert("前选择经办人员！");return false;
	}
	document.form1.proc_user.value=proc_user;
	document.form1.submit();
}

</script>
</head>
<body>
<div class=""><h2><?php echo ($work_name); ?></h2></div><br>
<div class="search">&nbsp;第<b><span class=big4><?php echo ($data_proc["proc_no"]); ?></span></b>步：<?php echo ($data_proc["proc_name"]); ?>   (当前步骤)     <font color=red title=正在办理><?php echo ($name); ?>(办理中)</font></div>
<div class="search"><b>请选择下一步</b></div>
<div class="list">
<br>
<table class="stripe" cellspacing="0">
    <tbody>
        <tr>
            <td width="250px" ><?php echo ($data_proc1["proc_name"]); ?></td>
            <td>
				<?php if(is_array($proc_user_select)): $i = 0; $__LIST__ = $proc_user_select;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><input type="radio" name="proc_user" value="<?php echo ($vo["user_name"]); ?>">[<?php echo ($vo["dept_name"]); ?>]   <?php echo ($vo["name"]); ?><br><?php endforeach; endif; else: echo "" ;endif; ?>
			</td>
        </tr>
    </tbody>
</table>
<br>
</div>
<div class="search"><font color="red">提示：部门经理审批步骤时，申请人级别在总监一下的，请选择   <b>直接负责人</b>，级别是总监或在总监以上的，请选择裴俊</font></div>
<br>
<div class="search center">
<form action="/oa/index.php/Home/WorkFlow/work_next_ok" method="post" name="form1">
		<input type="button" class="button" value="转交下一步" onclick="mysubmit();">&nbsp;&nbsp;&nbsp;&nbsp;
      <input type="button" class="button" value="返 回列表" onclick="location='/oa/index.php/Home/WorkFlow/work_list';">
      <input type='hidden' value="" name="GRAPH">
		<input type='hidden' value="<?php echo ($id["type_id"]); ?>" name="type_id">
		<input type="hidden" value="<?php echo ($id["proc_id"]); ?>" name="proc_id">
		<input type="hidden" value="<?php echo ($id["work_id"]); ?>" name="work_id">
		<input type="hidden" value="<?php echo ($id["prcs_id"]); ?>" name="prcs_id">
		<input type="hidden" value="<?php echo ($data_proc1['proc_no']); ?>" name="proc_no">
		<input type="hidden" name="proc_user" value="">
	</form>
</div>
</body>
</html>